package com.krtech.wecard.module.weixin.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
    * 微信公众号相关管理 
    */
@ApiModel(value="com-krtech-wecard-module-weixin-bean-WxOpenIdManage")
@Data
@TableName(value = "wx_open_id_manage")
public class WxOpenIdManage implements Serializable {
    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value="id")
    private Integer id;

    /**
     * 创建人
     */
    @TableField(value = "CREATED_BY")
    @ApiModelProperty(value="创建人")
    private String createdBy;

    /**
     * 创建时间
     */
    @TableField(value = "CREATED_TIME")
    @ApiModelProperty(value="创建时间")
    private Date createdTime;

    /**
     * 更新人
     */
    @TableField(value = "UPDATED_BY")
    @ApiModelProperty(value="更新人")
    private String updatedBy;

    /**
     * 更新时间
     */
    @TableField(value = "UPDATED_TIME")
    @ApiModelProperty(value="更新时间")
    private Date updatedTime;

    /**
     * 公众号openId
     */
    @TableField(value = "public_open_id")
    @ApiModelProperty(value="公众号openId")
    private String publicOpenId;

    /**
     * 开放平台openId
     */
    @TableField(value = "open_id_admin")
    @ApiModelProperty(value="开放平台openId")
    private String openIdAdmin;

    /**
     * 小程序openId
     */
    @TableField(value = "mip_open_id")
    @ApiModelProperty(value="小程序openId")
    private String mipOpenId;

    /**
     * 是否关注公众号
     */
    @TableField(value = "has_focus_public_number")
    @ApiModelProperty(value="是否关注公众号")
    private Integer hasFocusPublicNumber;

    private static final long serialVersionUID = 1L;

    public static final String COL_ID = "id";

    public static final String COL_CREATED_BY = "CREATED_BY";

    public static final String COL_CREATED_TIME = "CREATED_TIME";

    public static final String COL_UPDATED_BY = "UPDATED_BY";

    public static final String COL_UPDATED_TIME = "UPDATED_TIME";

    public static final String COL_PUBLIC_OPEN_ID = "public_open_id";

    public static final String COL_OPEN_ID_ADMIN = "open_id_admin";

    public static final String COL_MIP_OPEN_ID = "mip_open_id";

    public static final String COL_HAS_FOCUS_PUBLIC_NUMBER = "has_focus_public_number";
}